<script setup lang="ts">
type A = '1' extends number ? boolean : null
const a: A = null
a
// Exclude 排除 'a' | 'b' | 'c', 'a' => 'b' | 'c'
// type TestExclude = Exclude<'a' | 'b' | 'c', 'a'>
type MyExclude<A, B> = A extends B ? never : A
type TestExclude = MyExclude<'a' | 'b' | 'c', 'a'>
</script>

<template>
  <div class="playground-page">
    <h1>playground</h1>
  </div>
</template>

<style scoped lang="scss"></style>
